package com.wiringweb.json;

import com.google.gson.Gson;

/**
 * @author sad
 */
public class JsonSerializerImpl extends JsonSerializer{
    private Gson gson=new Gson();
    @Override
    public Object fromJson(String str, Class clazz) {
        return gson.fromJson(str, clazz);
    }

    @Override
    public String toJson(Object obj) {
        return gson.toJson(obj);
    }

}
